package com.leadingsoft.pwxk.services.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.leadingsoft.pwxk.model.AirPermitInfo;
import com.leadingsoft.pwxk.repository.AirPermitInfoRepository;
import com.leadingsoft.pwxk.services.AbstractService;

/**
 * @author: lipan 2018年5月10日
 * @description: ()
 * 
 */

@Service
public class AirPermitInfoServiceImpl extends AbstractService<AirPermitInfo> {

	@Autowired
	private AirPermitInfoRepository airPermitInfoRepository;

	@Override
	public void saveAll(List<AirPermitInfo> models) {
		airPermitInfoRepository.saveAll(models);
	}

	@Override
	public void deleteAll() {
		airPermitInfoRepository.deleteAll();
	}

	@Override
	public void save(AirPermitInfo model) {
		airPermitInfoRepository.save(model);
	}

}
